//
//  QuickViewTransactionVC.h
//  Wallets Manager
//
//  Created by Nguyen Chi Cong on 10/29/12.
//  Copyright (c) 2012 BKHN. All rights reserved.
//
typedef enum {
    ReportIncomeType = 0,
    ReportExpenseType,
}ReportType;

#import <UIKit/UIKit.h>

@interface QuickViewTransactionVC : UIViewController<UITableViewDataSource, UITableViewDelegate>

@property (weak, nonatomic) IBOutlet UITableView *table;
@property (weak, nonatomic) IBOutlet UIImageView *imvAvata;
@property (weak, nonatomic) IBOutlet UILabel *lbTotal;
@property (weak, nonatomic) IBOutlet UILabel *lbAvg;
@property (weak, nonatomic) IBOutlet UILabel *nameOfType;

@property (assign, nonatomic) ReportType reportType;
@property (strong, nonatomic) NSString *name;
@property (strong, nonatomic) NSDate *fromDate;
@property (strong, nonatomic) NSDate *toDate;
@property (strong, nonatomic) NSDecimalNumber *total;
@property (strong, nonatomic) NSArray *arrInputs;
@property (strong, nonatomic) NSArray *allKeys;
@property (strong, nonatomic) NSDictionary *sources;

-(NSDictionary *)processIncomes: (NSArray *)arrIncomes;

@end
